package com.skycong.hello77.complexforms.entity;

/**
 * Created by Kiki on 2018/6/8.
 */

public class DataComparisonVO {
    //public int id;//	父级Id	number
   //public List<ComparisonItem>items;//		array<object>
    public String compareValue;//	对比数据项值	number	31063.76
    public boolean endNode;//	是否为终结点	boolean
    public int id;//	数据项Id	number	101
    public String increase;//	涨幅	number
    public String name;//	数据项名称	string	酒类
    public boolean percent;//	涨幅是否为百分数	boolean
    public String value;//	数据值	number

    public String title;//	数据项父级名称	string	批发入驻-销售件数

    public DataComparisonVO(String name, String value, String compareValue, String increase,
                            boolean endNode, boolean percent, int id) {
        this.name = name;
        this.value = value;
        this.compareValue = compareValue;
        this.increase = increase;
        this.endNode = endNode;
        this.percent = percent;
        this.id = id;
    }



    @Override
    public String toString() {
        return "DataComparisonVO{" +
                "compareValue=" + compareValue +
                ", endNode=" + endNode +
                ", id=" + id +
                ", increase=" + increase +
                ", name='" + name + '\'' +
                ", percent=" + percent +
                ", value=" + value +
                ", title='" + title + '\'' +
                '}';
    }
}
